package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description: 所有试题表
 * @Author: 王雪芬
 * @CreateDate: 2018/11/21 19:10
 * @UpdateUser: 王雪芬
 * @UpdateDate: 2018/11/21 19:10
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@ApiModel(value = "ExamOnlineQuestionModel")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class ExamOnlineQuestionModel extends QuestionModel implements Serializable {

    /**
     * 父试题分类id
     */
    @ApiModelProperty(value = "父试题分类id")
    private String pId;

    /**
     * 分类名
     */
    @ApiModelProperty(value = "分类名", required = true)
    private String classifyName;

    /**
     * 该分类下试题数量
     */
    @ApiModelProperty(value = "该分类下试题数量", example = "0")
    private Integer questionCount;

    //region 自QuestionTypeEntity的属性

    /**
     * 题型名称
     */
    @ApiModelProperty(value = "题型名称", required = true)
    private String questionTypeName;

    /**
     * 题型简介
     */
    @ApiModelProperty(value = "题型简介")
    private String questionTypeDesc;

    /**
     * 默认分值
     */
    @ApiModelProperty(value = "默认分值")
    private String defaultScore;

    /**
     * 判分类型:0自动,1手动,2智能
     */
    @ApiModelProperty(value = "判分类型:0自动,1手动,2智能", required = true, example = "0")
    private Integer scoreType;


}
